package com.hzw.saas.api.rss;

import com.hzw.saas.api.rss.bo.JournalUserAxisBO;

import java.util.ArrayList;
import java.util.List;

public interface IJournalUserAxisService {
    void addRecord(String userId, String journalId);

    void updateRecord(List<String> pid,Integer axisType);

    List<JournalUserAxisBO> findIfRead(String userId, List<String> journalId);

    List<JournalUserAxisBO> findByUserAndJournalId(String userId, String rssId);

    void saveBatch(List<JournalUserAxisBO> journalUserAxisBOS);

    List<JournalUserAxisBO> findUnRead(String userId, List<String> collect);

    void deleteByUserIdAndPid(String pid, String userId);

    void deleteByUserAndJournalIdS(String userId, List<String> pids);
}
